<template>
  <div>
    <ZspSon v-model="options" :prop="zspParentObj.props"/>
    <button @click="options.push({name:'liuqi',age:19,sex:'女'})">点击加内容</button>
  </div>
</template>

<script>
import { zspParentObj } from "@api/zspParent";
export default {
  updated() {
    console.log(this.options);
  },
  data() {
    return {
      zspParentObj,
      options: [
        {
          name: "zhangsan",
          age: 18,
          sex: "男"
        },
        {
          name: "lisi",
          age: 25,
          sex: "女"
        },
        {
          name: "wangwu",
          age: 22,
          sex: "男"
        },
        {
          name: "zhaoliu",
          age: 16,
          sex: "男"
        }
      ]
    };
  }
};
</script>

<style>
</style>
